We are migrating the bug tracker to github Issues. This is now the preferred way to report NASM bugs.

Self-registration is disabled due to spam issue (mail gorcunov@gmail.com or hpa@zytor.com to create an account)

Bug 3392917 - -fobj error for rel8 relocation says "16- or 32-byte relocations" where 16- or 32-bit seems meant
Summary: -fobj error for rel8 relocation says "16- or 32-byte relocations" where 16- o...
Status: OPEN
Alias: None
Product: NASM
Classification: Unclassified
Component: Assembler (show other bugs)
Version: 2.16.xx
Hardware: All All
: Medium annoyance
Assignee: nobody
URL:
Depends on:
Blocks:
 
Reported: 2024-08-01 14:10 PDT by E. C. Masloch
Modified: 2024-08-01 14:10 PDT (History)
4 users (show)

Obtained from: Built from git using configure
Generated by: Human
Bug category: Documentation incorrect
Observed for: Invalid input
Regression: ---
Regression since:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description E. C. Masloch 2024-08-01 14:10:10 PDT
$ nasm -v
NASM version 2.16.02rc2 compiled on Oct 12 2023
$ cat testrel8.nas

group cgroup text text2

section text
main:
   jmp short next

section text2
   db 256 dup (90h)
next:
$ nasm testrel8.nas -fobj
testrel8.nas:6: error: OBJ format can only handle 16- or 32-byte relocations
$